package com.flyco.modules.stm.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.flyco.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 渠道产品申请表
 * @Author: flyco
 * @Date:   2023-06-21
 * @Version: V1.0
 */
@Data
@TableName("stm_channel_product_apply")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="stm_channel_product_apply对象", description="渠道产品申请表")
public class StmChannelProductApply {
    
	/**applyId*/
	@Excel(name = "applyId", width = 15)
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "applyId")
	private Integer applyId;
	/**渠道Id*/
	@Excel(name = "渠道Id", width = 15)
	@ApiModelProperty(value = "渠道Id")
	private Integer channelId;

	/**渠道名称*/
	@Excel(name = "渠道名称", width = 15)
	@ApiModelProperty(value = "渠道名称")
	private String channelName;

	/**1 供应链审核  2 财务审核  3 审核通过*/
	@Excel(name = "1待审批 2 审批中  3 审批完成", width = 15)
    @ApiModelProperty(value = "1待审批 2 审批中  3 审批完成")
	@Dict(dicCode = "channel_product_apply_status")
	private Integer status;
	/**申请人名称*/
	@Excel(name = "申请人名称", width = 15)
    @ApiModelProperty(value = "申请人名称")
	private String userName;
	/**申请人Id*/
	@Excel(name = "申请人Id", width = 15)
    @ApiModelProperty(value = "申请人Id")
	private String userId;
	/**申请内容*/
	@Excel(name = "申请内容", width = 15)
    @ApiModelProperty(value = "申请内容")
	private String content;
	/**申请时间*/
	@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
	private Date createTime;
}
